<template>
	<div class="index">

		<div class="center">
			<left></left>
			<div class="right">
          <top></top>
          <div class="hei10"></div>
      
				<div style="padding: 30px; width: 1000px;">
					<div v-for="(item,index) in zidong2" :key="index" style="font-size: 16px; margin-bottom: 20px; word-wrap:break-word;">
									   {{item.name}}:{{item.val}}
					</div>
				</div>
               
             </div>   
		</div>
		<foot></foot>
	</div>
</template>

<script>
	import axios from "axios";
	import top from '@/components/top.vue'
	import left from '@/components/left.vue'
	import foot from "@/components/foot.vue"
	export default{
		components: {
			"left": left,
			"top": top,
			"foot": foot
		},
		name: 'order_catch',
		data(){
			return{
				zidong2:""
			}
		},
		created() {
			axios.get('/api/plan-market/upstream/get/product/info?id='+this.$route.query.id)
				.then(response => {
					if (response.data.msg.code == 0) {
						this.zidong2 = []
						for(let i in response.data.data){
							this.zidong2.push(
								{name:i,val:response.data.data[i]}
							)
						}
					} else {
						this.$message.error(response.data.msg.info);
					}
				})
		}
	}
</script>

<style lang="scss" scoped>
	
</style>
